<?php
	require("includes/basic.php");

$useid=$_POST['user'];
$uname=$_POST['username'];
$useFname=$_POST['fname'];
$useLname=$_POST['lname'];
$mobile=$_POST['mobile'];
$pass=md5($_POST['password']);

//$clienttpe=$_POST['clienttpe'];
		
//$recordstatus=$_POST['recordstatus'];

		
	$sql="update user_master set first_name='$useFname',last_name='$useLname',mobile='$mobile',user_name='$uname',user_password='$pass' where user_id=$useid";
	$sql_res=mysql_query($sql);
	
	if($sql_res)
	{
		header("location:view-resources.php");
	}
?>


